﻿/* 2014/1/5 */

namespace PictureManager
{
    /// <summary>
    /// An item which can be added to ComboBox. It contains a text and Operation enum.
    /// </summary>
    class OperationItem : ComboBoxItem
    {
        private PictureManagerOperationCategory _operation;

        public OperationItem(PictureManagerOperationCategory operation, string text)
            : base(text)
        {
            _operation = operation;
        }

        public PictureManagerOperationCategory Operation { get { return _operation; } }
    }
}
